<?php 
// back page
include_once("../UserIncludes/DbConfig.php");
include_once("../UserIncludes/DataTables.php");
$finalResult='';
$SQL_delete_ad="delete from temp_adgroup_ad where id = '".$_REQUEST['ad_id']."'";
mysql_query($SQL_delete_ad);

$SQL_total_ads="select * from temp_adgroup_ad";
$EXE_total_ads=mysql_query($SQL_total_ads);
$total_ads=mysql_num_rows($EXE_total_ads);
//$inner_res = mysql_query("select * from temp_adgroup_ad where form_id = '".$_REQUEST['formId']."'");

?>